package alon24sageexternaltools;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

    public void createInitialLayout(IPageLayout layout) {
        String editorArea = layout.getEditorArea();
        layout.setEditorAreaVisible(false);
        layout.setFixed(true);
        layout.addStandaloneView("ShowsView", true, 3, 0.7f, IPageLayout.ID_EDITOR_AREA);
//        layout.addStandaloneView("SelectedView", true, IPageLayout.BOTTOM, 0.3f, IPageLayout.ID_EDITOR_AREA);

        layout.addView("ShowsView", 3, 0.7f, IPageLayout.ID_EDITOR_AREA);
        layout.addView("SelectedView", IPageLayout.BOTTOM, 0.3f, IPageLayout.ID_EDITOR_AREA);
}
}
